/****************************************************************/
/*  I M P E T U S     C O P Y R I G H T      S T A T E M E N T  */
/****************************************************************/
/*                                                              */
/*  NOTICE: THIS SOFTWARE CONTAINS TRADE SECRETS THAT BELONG TO */
/*          IMPETUS INFOTECH, AND IS LICENSED BY AN AGREEMENT.  */
/*          ANY UNAUTHORIZED ACCESS, USE, DUPLICATION OR        */
/*          DISCLOSURE IS UNLAWFUL.                             */
/*                                                              */
/*          COPYRIGHT (C) 2008 IMPETUS INFOTECH INDIA PVT LTD   */
/*          ALL RIGHTS RESERVED.                                */
/****************************************************************/
package com.iLabs.spice.common.exception;

/**
 * Description : This class is responsible for handling exceptions. Exceptions
 * can be thrown by the components in the application. They can be either system
 * or application or business or SQL Exceptions. If an error occurs at any stage
 * in the life cycle of application the same is thrown back. The specific
 * message for the corresponding exception is read from the property file and is
 * populated at the front end.
 */
public class AppException extends AbstractBaseException {

	/** Constructor for AppException with the errorcode */
	public AppException(String errorCode) {
		super(errorCode);
	}

	/** Constructor for AppException with the errorcode and user-defined message */
	public AppException(String errorCode, String message) {
		super(errorCode, message);
	}

	/** Constructor for AppException with the errorcode and the throwable object */
	public AppException(String errorCode, Throwable cause) {
		super(errorCode, cause);
	}

	/**
	 * Constructor for AppException with the errorcode, user-defined message and
	 * the throwable object
	 */
	public AppException(String errorCode, String message, Throwable cause) {
		super(errorCode, message, cause);
	}
}
